package com.feicheng.service;

import com.alibaba.fastjson.JSONObject;
import com.feicheng.common.result.ResultInfo;

import java.time.LocalDateTime;

public interface IFHomeService {
    /**
     * 查询某一时段内某一门店进店人数
     * @autor 徐航
     * @return
     */
    ResultInfo getOrderCount(Integer storeId, LocalDateTime startTime, LocalDateTime endTime, String part);

    /**
     * 查询某一时段内会员卡的金额
     * @autor
     * @return
     */
    ResultInfo getCardAmount(Integer storeId, LocalDateTime startTime, LocalDateTime endTime, String part);

    /**
     * 计时订单金额
     * @autor 孟庆龙
     * @return
     */
    ResultInfo calculateTimeMoney(Integer storeId, LocalDateTime startTime, LocalDateTime endTime, String part);

    /**
     * @autor 葛仁旭
     * 查询押金申退金额
     * @return
     */
    ResultInfo getDepositBackAmount(Integer storeId, LocalDateTime startTime, LocalDateTime endTime, String part);

    /**
     * 根据会员卡类型查总金额
     * @param param
     * @return
     */
    ResultInfo getAmount(JSONObject param);

    /**
     * 查询押金支付金额
     * @return
     */
    ResultInfo getDepositAmount(Integer storeId, LocalDateTime startTime, LocalDateTime endTime, String part);
}
